package o;

import android.os.Bundle;
import android.view.View;
import android.view.WindowManager.LayoutParams;
import androidx.annotation.Nullable;

public abstract class dex implements dew {
    private c ʻ;
    private dey ˊ = null;
    private LayoutParams ˋ;
    private a ˎ = a.LEFT;
    private View ˏ = null;
    private d ॱ = d.NORMAL;

    public enum a {
        LEFT(1),
        RIGHT(2);
        
        int ॱ;

        private a(int i) {
            this.ॱ = i;
        }

        public int ˋ() {
            return this.ॱ;
        }
    }

    public enum c {
        INVALID,
        CREATED,
        STOPPED,
        RESUMED
    }

    public enum d {
        NORMAL("NORMAL"),
        GUIDE("GUIDE"),
        DOCK("DOCK");
        
        String ˊ;

        private d(String str) {
            this.ˊ = str;
        }

        public String ˏ() {
            return this.ˊ;
        }
    }

    public abstract View ˏ();

    public void ˋ(@Nullable Bundle bundle) {
        this.ʻ = c.CREATED;
    }

    public void B_() {
        this.ʻ = c.RESUMED;
        ᐝ().ॱ();
    }

    public void C_() {
        this.ʻ = c.STOPPED;
        ᐝ().ˎ();
    }

    public void D_() {
        this.ʻ = c.INVALID;
        ᐝ().ˏ();
    }

    public void ˋ() {
        ᐝ().ˊ();
    }

    public void E_() {
    }

    public final boolean ʼ() {
        return ˏॱ() == c.RESUMED;
    }

    public final dey ᐝ() {
        if (this.ˊ == null) {
            this.ˊ = new dfd(this);
        }
        return this.ˊ;
    }

    public final c ˏॱ() {
        return this.ʻ;
    }

    public final View ˊॱ() {
        return this.ˏ;
    }

    public void ˎ(View view) {
        this.ˏ = view;
    }

    public int ˋॱ() {
        if (this.ˋ != null) {
            return this.ˋ.width;
        }
        return 0;
    }

    public void ˏ(LayoutParams layoutParams) {
        this.ˋ = layoutParams;
    }

    public LayoutParams ͺ() {
        return this.ˋ;
    }

    public void ˎ(d dVar) {
        this.ॱ = dVar;
    }

    public d ॱˊ() {
        return this.ॱ;
    }

    public void ˏ(a aVar) {
        this.ˎ = aVar;
    }

    public a ᐝॱ() {
        return this.ˎ;
    }
}
